package com.oplink.webems.common.snmp.service;

import java.util.List;
import java.util.Map;
import java.util.Vector;

import com.oplink.webems.common.snmp.base.SnmpException;
import com.oplink.webems.common.snmp.entity.Card;

public interface ISnmpService {
	
	public String get(Card card, String name) throws SnmpException;
	
	public List<String> get(Card card, List<String> names) throws SnmpException ;
	
	public Map<String, String> getMap(Card card, List<String> names) throws SnmpException ;
	
	public List<Boolean> set(Card card, List<Vector<String>> nameAndValues) throws SnmpException;
	
	public Map<String, Boolean> setMap(Card card, Map<String, String> nameAndValues) throws SnmpException;
	
	public Boolean set(Card card, String name, String value) throws SnmpException;
	
	public String[] getNext(Card card, String name) throws SnmpException;
	
	public List<Card> scanCards() throws SnmpException;
	
	public boolean addCard(Card card) throws SnmpException;
	
	public boolean delCard(Card card) throws SnmpException;
	
	public boolean active();
}
